package com.njwb.pojo;

import lombok.Data;

import java.util.List;

@Data
public class Dept {
    //属性-列
    private Integer deptNo;
    private String dname;
    private String loc;

    //维护1对多的关系
    List<Emp> emps;
}
